<!DOCTYPE html>
<html >
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表格</title>
    <style>
        table{
            border-collapse: collapse;
           
        }
        thead{
            background-color: darkgray;
        }
        th,td{
            border: 1px solid ;
        }
    </style>
</head>
<body>
    
    <table>

        <!--头部-->
         <thead>
             <tr>
                 <td>姓名</td>
                 <td>年龄</td>
                 <td colspan="2">联系方式</td>
                 
             </tr>

         </thead>
         <!--表格主体-->
         <tbody>
             <tr>
                 <td>张三</td>
                 <td>22</td>
                 <td>654324</td>
                 <td rowspan="2">村东头</td>
             </tr>
              <tr>
                   <td>李四</td>
                  <td>23</td>
                  <td>876545</td>
                  
              </tr>
              <tr>
                  <td>王五</td>
                  <td>21</td>
                  <td>345678</td>
                  <td>居委会</td>
              </tr>

         </tbody>
         <!--表格底部-->
         <tfoot>


         </tfoot>
    </table>
</body>
</html>